<?php
//рус
include_once(_APP_PATH. 'modules/admin/controllers/myblog/myblog_admin_http.php');
class myblog_admin_http_ajax extends myblog_admin_http
{
	
    protected function PrimaryActionInit ($basicActionName)
    {
        $blog = $this->GetBlogFromQueryId();
        if (!$blog)
        {
	        $obj = SysLoader::GetModResponse();
			$obj->SetStatus(MR_STATUS_ERROR);
			$obj->SetMessage('Блог не найден');
	
	        $this->Response()->SetBody($obj);         	
        	return false;
        }
    }
    	
    /**
		экшен по-умолчанию
	*/
    public function PrAction ()
    {

    }

    public function media_add_articlePrAction()
    {
    	$blog = $this->GetBlogFromQueryId();
		$this->MediaForArticle($blog);  	
    }    
}